package com.ruoyi.drug.service.impl;

import com.ruoyi.drug.domain.DrugRecipt;
import com.ruoyi.drug.mapper.DrugProcessMapper;
import com.ruoyi.drug.service.IDrugProcessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DrugProcessServiceImpl implements IDrugProcessService {
    @Autowired
    private DrugProcessMapper drugProcessMapper;

    @Override
    public List<DrugRecipt> selectRecipt(DrugRecipt drugRecipt) {
        return drugProcessMapper.selectRecipt(drugRecipt);
    }

    @Override
    public int pass(Long[] ids) {
        return drugProcessMapper.pass(ids);
    }

    @Override
    public int unpass(Long[] ids) {
        return drugProcessMapper.unpass(ids);
    }
}
